<?php
/*
+--------------------------------------------------------------------------
|   Arka-Tech Web Application Desktop (Vision) v2.0.0
|   ========================================
|   by Christopher Hall
|   (c) 2009 Arka-Tech Productions
|   http://arka-tech.net
|   ========================================
|   Web: http://Arka-Tech.net
|   Time: Wed, 15 July 2009 8:42 AM
|   Release: RmVicnVhcnkgMjAwOSBMYXVuY2ggNA==
|   Email: Arkahn@live.ca
|   Licence Info: http://www.arka-tech.net/
+---------------------------------------------------------------------------
|
|   > Main Launcher Script
|   > Script written by Christopher Hall
|   > Date started: 20th March 2009
|
+--------------------------------------------------------------------------
*/
require ('GLOBAL.php');
//$vision[] = array(
//	'version' => init::desktop
//);
//print_r($vision);
//atwaController::run();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
<!-- head -->
<head>
<?php include ('Vision/scripts.php'); ?>
<title>Arka-Tech Vision</title>
</head>
<script type="text/javascript">
var Welcome = new Window({className: "Vista", blurClassName: "Vista",  width:420, height:550, zIndex: 100, resizable: true, title: "<img src=\"images/Vision/welcome_center_icon.png\" height=\"18px\" width=\"18px\" />Welcome to Arka-Tech OSWOS (Vision)", showEffect:Effect.BlindDown, hideEffect: Effect.SwitchOff, draggable:true, wiredDrag: true, url: "Welcome/index.php"})

var MiniBrowser = new Window({className: "Browser", title: "<img src=\"images/Vision/mini_web_browser_icon.png\" height=\"18px\" width=\"18px\" />Arka-Tech Mini Browser ~ BETA", top:90, left:75, width:800, height:500, url: "<?php echo $URL; ?>", showEffectOptions: {duration:1.5}})

var siteBrowser = new Window({className: "Browser", title: "<img src=\"images/Vision/mini_web_browser_icon.png\" height=\"18px\" width=\"18px\" />Arka-Tech site Browser ~ BETA", top:90, left:75, width:800, height:500, url: "default.php?page=Welcome", showEffectOptions: {duration:1.5}})
<?php
# begin including software
?>
</script>
<!-- body -->
<body>
<b><?php echo $name['ADMIN'].$version['Vision']; ?></b><br />
<br />
<div id="welcome"><a href="#" onclick="Welcome.show();"><img src="images/Vision/welcome_center_icon.png" />Welcome to Arka-Tech OSWOS (Vision)</a></div>
<br />
<br />
<div id="web_browser"><a href="#" onclick="Browser.show();"><img src="images/Vision/web_browser_icon.png" />Arka-Tech Web Browser ~ BETA</a></div>
<br />
<br />
<div id="web_browser"><a href="#" onclick="MediaPlayer.show();"><img src="images/Vision/Arka-Tech Productions100x100.png" />Media Player ~ BETA</a></div>
<br />
<br />
<div id="Paint"><a href="#" onclick="Paint.show();"><img src="Vision/Programs/paint/favicon.ico" />PIXASTIC</a></div>
<br />
<br />
<div id="production"><a href="#" onclick="MiniBrowser.show();"><img src="images/Vision/production_center_icon.png" />Arka-Tech Vision&copy; Updates</a></div>
<br />
<br />
<div id="web_browser"><a href="#" onclick="siteBrowser.show();"><img src="images/Vision/Arka-Tech Productions100x100.png" />View your website!</a></div>
<br />
<br />
<div id="web_browser"><a href="#" onclick="System.show();"><img src="images/Vision/Arka-Tech Productions100x100.png" />Arka-Tech System Info ~ Beta</a></div>
<br />
<br />
<!-- dock -->
<div id="dock">
	<div id="theme"> Theme:
		<select>
			<option>Vista</option>
		</select>
	</div>
</div>
<!-- startup scripts -->
<script type="text/javascript">
<!-- BEGIN STARTUP PROGRAMS -->
Dialog.alert({url: "Vision/docs/info_panel.php", options: {method: 'get'}}, 
            {className: "Vista", width:540, okLabel: "Close"});
  Welcome.show();
<!-- END STARTUP PROGRAMS -->
</script>
<!-- load software -->
<?php
# include software
$URL = "http://arka-tech.net/OS/index.php";
include ('Vision/Programs/Browser.php');
include ('Vision/Programs/Paint.php');
include ('Vision/Programs/System.php');
include ('Vision/Programs/Media.php');
?>
<!-- end page -->
<script>
WindowStore.showCenter(Welcome);
WindowStore.init();
</script>
</body>
</html>